import axios from '~/axios.js'
export function getSysconfig() {
    return axios.get(`/admin/sysconfig`)
}
//
export function setSysconfig(data) {
    return axios.post(`/admin/sysconfig`, data)
}

// 上传文件的接口
export function uploadFileAction() {
    return axios.post('/admin/sysconfig/upload')
}

export const uploadAction = import.meta.env.VITE_APP_BASE_API + '/admin/sysconfig/upload'
